class CreateUsers < ActiveRecord::Migration[5.0]
  def change
    create_table :users do |t|
      t.string  :name
      t.integer :employee_id
      t.string  :display_name
      t.string  :department
      t.string  :title
      t.integer :mobile
      t.date    :entry_data
      t.string  :mail
      t.integer :personalise_info_id
      t.integer :special_info_id
      t.belongs_to :role
      t.timestamps
    end
  end
end
